﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IOEPModels
{
    public class CommandInterpreter
    {
        public CommandInterpreter()
        {

        }
        public CommandInterpreter(string cmdText)
        {
            Parse(cmdText);
        }
        public string Operation { get; private set; } = string.Empty;
        public string[] Argues { get; private set; } = { };
        public void Parse(string cmdText)
        {

        }
        public override string ToString()
        {
            string temp = "{ Operation=" + Operation + ", Argues=";
            foreach (var item in Argues)
                temp += item + ", ";
            temp += "}";
            return temp;
        }
    }
}
